
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Request Money</title>
<script src="references/js/jquery-2.1.0.min.js"></script>
<script>
	$(document).ready(function() {

		$("#amount").prop("type", "number");

	});
</script>
</head>
<body>
	<tiles:insertTemplate template="/pages/masterpage/masterPage.jsp">
		<tiles:putAttribute name="body">
			<logic:notEqual name="role" value="Developer">
				<logic:forward name="home" />
			</logic:notEqual>

			<div class="panel panel-primary">
				<div class="panel-heading">
					<h3 class="panel-title">Panel title</h3>
				</div>
				<div class="panel-body" style="min-height: 265px;">
					<html:form action="/requestMoney">
					<div class="col-xs-12 " style="height: 50px"></div>
					<div class="col-xs-12 col-md-7 col-md-offset-3">
				Amount:<br><br><div class="input-group"><html:text property="amount" styleId="amount" styleClass="form-control"></html:text>  
				<span class="input-group-addon"><i class="fa fa-dollar"></i></span>
						</div><br><html:submit styleClass="btn btn-default btn-sm">Request</html:submit></div>
					</html:form>
					<logic:notEmpty name="info">
						<bean:write name="info" />
					</logic:notEmpty>
				</div>
			</div>


		</tiles:putAttribute>
	</tiles:insertTemplate>
</body>
</html>